package com.whfc.ms.api.md.service.impl;

import com.whfc.fse.dto.FseCraneDataDetailDTO;
import com.whfc.fse.dto.FseLiftDataDetailDTO;
import com.whfc.fse.service.FseBoardService;
import com.whfc.ms.api.md.service.MdFseBoardService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author qzexing
 * @version 1.0
 * @date 2021/12/2 10:54
 */
@Service
public class MdFseBoardServiceImpl implements MdFseBoardService {


    @DubboReference(interfaceClass = FseBoardService.class, version = "1.0.0")
    private FseBoardService fseBoardService;

    @Override
    public FseCraneDataDetailDTO getCraneDataDetail(Integer craneId) {
        return fseBoardService.getCraneDataDetail(craneId);
    }

    @Override
    public FseLiftDataDetailDTO getLiftDataDetail(Integer liftId) {
        return fseBoardService.getLiftDataDetail(liftId);
    }
}
